package com.mentaleye.service;

import com.mentaleye.dal.model.TradesRecord;
import com.mentaleye.dal.model.TrxRecord;

import java.util.List;

/**
 * Created by Skeyedu on 2017/6/15.
 */
public interface OrderService {

    public TrxRecord getByTrxNo(String trxNo);
    public TradesRecord getByOrderNo(String orderNo);
    public TradesRecord getByTransNo(String trxNo);

    public List<TrxRecord> getTRXByOrderNo(String orderNo,String trxType,String trxStatus);

    public void failTRX( List<String> failTrxRecordNos);

    public void  insertTrxRecord(TrxRecord trxRecord);
    public void updateTrxRecord(TrxRecord trxRecord);

    public void updateOrder(TradesRecord order);

}
